/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.local;

import com.qihoo.psdk.k;
import com.qihoo.psdk.util.h;
import java.util.Date;

class e extends Thread {
    public void run() {
        try {
            sleep(4000 + c.d());
            long l = new Date().getTime();
            if (l - c.l() < 5000L)
                return;
            c.b(l);
            c.a(c.e().a(c.f()));
            h.a("QLocalSession", "ts: " + com.qihoo.psdk.util.a.f() + ", bRegistered/trigger/init: " + c.g());
            if (c.g())
                return;
            c.e().a(c.f(), c.h(), c.i(), c.j());
            sleep(15000L);
            c.a(c.e().a(c.f()));
            if (!(c.g()))
                return;
            h.a("QLocalSession", "ts: " + com.qihoo.psdk.util.a.f() + ", bRegister/trigger/retry: " + c.g());
            k.a(c.k(), c.i());
        } catch (Exception localException) {
            c.a(false);
            h.a("QLocalSession", localException);
        }
    }
}